f = open('../day4/兼职白领学生空姐模特护士联系方式.txt', "r")
f_new = open('兼职白领学生空姐模特护士联系方式.txt.new',"w")

old_str = "深圳"
new_str = "广州"

for line in f:
    if "深圳" in line:
        line = line.replace(old_str,new_str)
    f_new.write(line)

f.close()
f_new.close()
